import Mock from "mockjs"
// 导入轮播图和楼层数据
import Slice from "./slice"
import Floor from "./floor"

// mock模拟数据  拦截ajax请求
Mock.mock("http://www.XA1208.com/slice","get",{
    code:200,
    message:"ok",
    data:Slice,
    ok:true
})

Mock.mock("http://www.XA1208.com/floor","get",{
    code:200,
    message:"ok",
    data:Floor,
    ok:true
})